import { request } from "@/utils/request";
import { User } from "types/api/login/login";
/**
 *
 * @param user 用户信息
 */
export function login(user: User) {
  request({
    url: "/login/user",
    method: "post",
    data: user,
  });
}
